

jQuery(function ($) {
    $('.left a').click(function () {
        $(this).addClass('sort').siblings().removeClass('sort');
    });
    $('.goods_list ').removeClass('clearfix').addClass('resetInlineBlock');
    var params = {
        "Nav[]": {
            "Nav": {
                "type": 2,
                "use_flag": 1,
                "@order": "rank"
            }
        },
        "[]": {
            "Nav": {
                "type": 5,
                "use_flag": 1,
                "@order": "rank"
            }
        },
        "Tdk": {
            "type": 2
        }

    };
    send_ajax('post', '/get', params, function (data) {
        if (data.code == 200&&data['[]']) {
            var tdks = data['[]'];
            for (var i = 0; i < tdks.length; i++) {
                $('.tdks').append('<a href="' + tdks[i].Nav.url + '" target="_blank">' + tdks[i].Nav.name + '</a>');
            };
        }
    });
});